﻿$(document).ready(main);
function main (){

    $("#btnSeleccionar1").bind("click", function () {
        var idEnterprise = $("#idEnterprise").text();
        idEnterprise = 666;
        $.ajax({
            url: "\SearchForAnalysis",
            type: "post",
            data: { idEnterprise: idEnterprise },
            dataType: "json",
            success: function (data) {
                $("#lblMessage").text(data.result);
                console.log(data.result);
            }
           
        });
    });
}
